﻿if exists (select * from sysobjects where id = object_id(N'pBUGLOGStatusDelete') and sysstat & 0xf = 4) drop procedure pBUGLOGStatusDelete 
GO

-- Deletes a record from the [dbo].[Status] table.
CREATE PROCEDURE pBUGLOGStatusDelete
        @pk_StatusID int
AS
BEGIN
    DELETE [dbo].[Status]
    WHERE [StatusID] = @pk_StatusID
END

